<?php if(count($address)<=0):?>
<div class="edit-address empty-address am-cf" data-am-modal="{target:'#address-list-actions'}">
    添加收货地址
    <i class="iconfont icon-right icon-youjiantou"></i>
</div>
<?php else:?>
<div class="order-address am-cf" data-am-modal="{target:'#address-list-actions'}"  chose-address-id="<?php echo $address->address_id;?>">
    <ul class="express-detail">
        <li>
            <span class="name"><?php echo $address->receiver_name;?></span>
            <span class="phone"><?php echo $address->tel;?></span>
        </li>
        <li class="address-detail">
            <i class="iconfont ico-address icon-shouhuodizhi"></i>
            <span><?php echo $address->province_name.$address->city_name.$address->district_name.$address->detailed;?></span>
        </li>
    </ul>
    <i class="iconfont icon-right icon-youjiantou"></i>
</div>
<?php endif;?>